import {Subject} from '../dist/index.esm.js'
const observer = new Subject()
observer.next(1)
observer.subscribe({next:(x)=>console.log("a",x)})
observer.next(2)
observer.subscribe({next:(x)=>console.log("b",x)})
observer.next(3)
